import Axios from '@/utils/request';

/**
 * 查询合同台账明细数据
 */
export function contractDetail(data): Promise<any> {
    return Axios.post('/ledger/contract/detail', data);
}

/**
 * 合同台账导出
 */
export function contractExport(data): Promise<any> {
    return Axios.post('/ledger/contract/export', data);
}

/**
 * 查询合同台账数据
 */
export function contractInfoList(data): Promise<any> {
    return Axios.post('/ledger/contract/info/list', data);
}
/**
 * 修改合同台账明细数据
 */
export function contractUpdate(data): Promise<any> {
    return Axios.post('/ledger/contract/update', data);
}

/**
 * 合同台账日志查询
 */
export function contractLog(data): Promise<any> {
    return Axios.post('/ledger/contract/log', data);
}
